package com.smartfactory.sail.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 产品工序设备
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("item_workingProcedure_device")
@ApiModel(value = "ItemWorkingprocedureDevice对象", description = "产品工序设备")
public class ItemWorkingprocedureDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品id")
    @TableField("itemId")
    private Long itemId;

    @ApiModelProperty(value = "订单id")
    @TableField("orderId")
    private Long orderId;

    @ApiModelProperty(value = "工序id")
    @TableField("workingProcedureId")
    private Long workingProcedureId;

    @ApiModelProperty(value = "员工id")
    @TableField("userId")
    private Long userId;

    @ApiModelProperty(value = "设备id")
    @TableField("deviceId")
    private Long deviceId;

    @ApiModelProperty(value = "设备名称")
    @TableField("deviceName")
    private String deviceName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    @TableField("createUser")
    private String createUser;

    @ApiModelProperty(value = "创建时间yyyy-MM-dd HH:mm:ss")
    @TableField("createTime")
    private String createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("updateUser")
    private String updateUser;

    @ApiModelProperty(value = "更新时间yyyy-MM-dd HH:mm:ss")
    @TableField("updateTime")
    private String updateTime;


}
